@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="huoyuan";
		@ var _key="id";
		@ var _col=[
@			  {name:"", index:"id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"标题", index:"title", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"联系人", index:"person", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"生产厂家", index:"industry", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"电话", index:"tel", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"地址", index:"address", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"数量", index:"num", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"内容", index:"content", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"发布时间", index:"addtime", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"审核状态1未审核2已审核", index:"status", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"标签", index:"tags", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}